package com.pucong.gitee.database.backup.common.entity.sys;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;


/**
 * @author pucong
 * @company gitee.com/pucong
 * @create 2020-12-01
 */
@Data
@ApiModel("修改密码vo")
public class UserUpdatePwdVo implements Serializable {

    private static final long serialVersionUID = 1L;

    @NotBlank(message = "旧密码不能为空")
    @ApiModelProperty("旧账号")
    private String passwordOld;

    @NotBlank(message = "新密码不能为空")
    @ApiModelProperty("新密码")
    private String passwordNew;
}